#ifndef RTPDATA_RECIEVE_THREAD_H
#define RTPDATA_RECIEVE_THREAD_H
#include "include.h"
#include <QThread>
#include <QByteArray>
#include <QTimer>
#include <QFile>
#include <QDateTime>


class rtpdata_recieve_thread : public QThread
{
    Q_OBJECT
public:
    explicit rtpdata_recieve_thread(QObject *parent = 0);
    void run();
    QByteArray recbytes;
signals:
    
public slots:
    void save_video_file();
private:
    QTimer* refresh_timer;
    QFile* videoFile;
    jrtp_transmission rtpreciever;
};

#endif // RTPDATA_RECIEVE_THREAD_H
